package com.example.car.entity;

import lombok.Data;
import lombok.ToString;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.Date;

@Data
@ToString
public class User {

    @Id
    private String id;

    private String name;

    private Integer age;

    // 1男0女
    private Integer gender;

    private String birth;

    private String addr;

    private String phone;

    private String account;

    private String password;

}
